package dijjer.io.xfer.http;

public class HTTPException extends RuntimeException {

	public static final String VERSION = "$Id: HTTPException.java 2 2008-03-21 14:33:03Z ian.clarke $";
	private final int _responseCode;
	private String _responseMessage;

	public HTTPException(int code, String message, String request) {
		super(request);
		_responseCode = code;
		_responseMessage = message;
	}

	public int getResponseCode() {
		return _responseCode;
	}

	public String getResponseMessage() {
		return _responseMessage;
	}
}
